/**
 * Created by dongchen on 16/4/9.
 */
var constant = {
    MsgType : {
        EVENT : 'event',
        TEXT : 'text',
        IMAGE : 'image',
        VOICE : 'voice',
        VIDEO : 'video',
        SHORT_VIDEO : 'shortvideo',
        LOCATION : 'location',
        LINK : 'link'
    },
    eventType : {
        subscribe : 'subscribe',
        unsubscribe : 'unsubscribe',
        click : 'CLICK',
        view : 'VIEW'

    },

    //0=未付款, 1=订单验证失败, 2=已付款, 3=付款失败, 4=充值完成
    OrderStatus : {
        PAY_NO      : 0,
        ORDER_FAIL  : 1,
        PAY_FIN     : 2,
        PAY_FAIL    : 3,
        ORDER_FIN   : 4
    },

    //1=流量卡, 2=手机卡
    OrderType : {
        CARD    : 1,
        MOBILE  : 2
    }
};

module.exports = constant;